/**
 * Created by oneminute on 7/17/14.
 */

var lz = require("../lib/utils/modules")();

exports.get = function(_req, _res, _opts, _callback) {
    var user = _req.user;
    if (user) {
        _callback(null, user, user.getInfo('f'));
    } else {
        _callback(lz.Config.errors.getError(lz.Config.errors.REQUEST_TEMPUSER_ERROR));
    }
};
